package com.example.experiment6.model;

import com.example.experiment6.bean.QRcodeReturn;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public class QRcodeApi {
    //public final static String APP_KEY="7f50fbc7ec72cbbc5bac3f0b1a1b7094";
    public final static String APP_KEY="5c850d367dda35f9e6a6b9b6df16cc9e";
    public final static String BASE_URL="http://apis.juhe.cn/";
    public final static String QR_CODE="qrcode/api";
    public interface QRcodeServer{
        @GET(QR_CODE)
        Observable<QRcodeReturn> getQRcode(@Query("key")String app_key,@Query("text")String text);
    }
}
